<template>
  <!-- 支付宝支付界面 -->
  <div class="ali-pay box-shadow mt-4 border-radius">
    <div v-html="payInfo.codeUrl" ref="pay"></div>
  </div>
</template>
<script>
import VueCookies from 'vue-cookies'
export default {
  components: {},
  props: [],
  data() {
    return {
      payInfo: {
        codeUrl:""
      },
    };
  },
  mounted() {
    this.payInfo.codeUrl = VueCookies.get("payForm");
    this.$nextTick(() => {
      this.$refs.pay.children[0].submit();
    });
  },
  methods: {},
};
</script>
